﻿using AdminManager.System.OrganizationUnits;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Volo.Abp.Identity;

namespace AdminManager.System.User
{
    public interface IUserExtenAppService : IApplicationService
    {
        /// <summary>
        /// 根据当前组织架构获取对应的用户信息
        /// </summary>
        /// <param name="searchDto"></param>
        /// <returns></returns>

        public Task<PagedResultDto<IdentityUserDto>> GetUsersAsync(UserSearchDto searchDto);
        /// <summary>
        /// 
        /// 获取当前用户对应的组织架构信息
        /// </summary>
        /// <param name="uid"></param>
        /// <returns></returns>
        public Task<OrganizationUserDto> GetDeptsByUidAsync(string uid);
        /// <summary>
        /// 修改当前用户的密码信息
        /// </summary>
        /// <param name="inputDto"></param>
        /// <returns></returns>

        public Task<string> UpdateUsersPwdAsync(UserPwdInputDto inputDto);
    }
}
